home *** CD-ROM | disk | FTP | other *** search
/ Turnbull China Bikeride / Turnbull China Bikeride - Disc 2.iso / STUTTGART / TEMP / GNU / bison / GrammarFil < prev    next >
Text File  |  1995-06-28  |  857b  |  22 lines

  1. Grammar File
  2. Previous: <Examples=>Examples> * Next: <Interface=>Interface> * Up: <Top=>!Root>
  3.  
  4. #Wrap on
  5. {fH2}Bison Grammar Files{f}
  6.  
  7. Bison takes as input a context-free grammar specification and produces a
  8. C-language function that recognizes correct instances of the grammar.
  9.  
  10. The Bison grammar input file conventionally has a name ending in {fEmphasis}.y{f}.
  11.  
  12. #Wrap off
  13. <Grammar Outline=>GrammarOut>:   Overall layout of the grammar file.
  14. <Symbols=>Symbols>:           Terminal and nonterminal symbols.
  15. <Rules=>Rules>:             How to write grammar rules.
  16. <Recursion=>Recursion>:         Writing recursive rules.
  17. <Semantics=>Semantics>:         Semantic values and actions.
  18. <Declarations=>Declaratio>:      All kinds of Bison declarations are described here.
  19. <Multiple Parsers=>MultiplePa>:  Putting more than one Bison parser in one program.
  20. #Wrap on
  21.  
  22.